package com.chiao.service.admin;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.chiao.dao.admin.LoginDao;
import com.chiao.entity.admin.Action;

@Service
public class LoginService {

	@Autowired
	LoginDao dao;
	
	public void updateXX(){
		dao.login2();
		dao.login();
	}
	
	public void getdds(){
		System.out.println(dao.getDDNS().getUserName());
//		List<Action> list=dao.getActions();
//		for(Action a:list){
//			System.out.println(a.getNodeid());
//		}
	}
	
	public void add(){
		System.out.println(dao.getActions());
	}
}
